﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Aker.DevTeam;

namespace Aker
{
    public partial class PriceUpdaterMaliyet : XPopupForm
    {

        public PriceUpdaterMaliyet()
        {
            InitializeComponent();
            
        }

        private void btnUpdate_Click(object sender, EventArgs e)
        {
          
            decimal carpan = Convert.ToDecimal(spinner.EditValue) / 100;

            Data.DM.ExecuteNonQuery("UpdateFiyatExtra", carpan ,chkOnlyEmpty.Checked);
            
            this.DialogResult = System.Windows.Forms.DialogResult.OK;
           
        }

        private void PriceUpdater_Load(object sender, EventArgs e)
        { 

        }
    }
}
